//
//  HMTempViewController.swift
//  新浪微博
//
//  Created by 饶鹏伟 on 16/4/8.
//  Copyright © 2016年 饶鹏伟. All rights reserved.
//

import UIKit

class HMTempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

       //设置导航条按钮
        navigationItem.rightBarButtonItem=UIBarButtonItem(imageName: "navigationbar_friendsearch",  target: self, action: "push")
    
    }

    @objc private func push(){
        
        //跳转到子界面
        let temp=HMTempViewController()
    
        navigationController?.pushViewController(temp, animated: true)
        
        
    }
    
    
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}
